	<!-- BEGIN: header -->
	<div id="lyceum-header">

	<b>
<font size=3>
<a href="<?php echo LURL ?>"> <?php echo _e(get_settings('site_title')) ?> 
</a>
</font>
</b> &nbsp;&nbsp; <?php echo _e("My Blog");?> :

<?php
	if (!$userdata->user_admin ||1) { //PEAK2008
?>
		<!-- BEGIN: your blogs -->
<?php
		$myblogs = get_userblogs();
		arrayify($myblogs);

		if (0 != count($myblogs)) :
?>
<?php	foreach ($myblogs as $b) : ?>
  <?php if ($b->id != $blog) 
	echo "<a href=\"".$b->home ."/admin/\">";
?>
		<b><?php echo $b->blogname ?> </b>
  <?php if ($b->id != $blog ) echo "</a>";?>
		&nbsp;
<?php endforeach ?>
<?php endif ?>
		<!-- END: your blogs -->
<?php
	}
?>

		<!-- BEGIN: authentication tools -->
		<ul id="authentication-tools">
			<li>
				<?php _e("Logged in as:"); ?> <?php printf(__('<strong>%s</strong>'), $user_identity) ?> 
				[<a href="<?php echo LURL ?>/login?action=logout&amp;redirect_to=portal.php" title="<?php _e('Log out of this account') ?>"><?php _e('Sign Out'); ?></a>]
&nbsp;|&nbsp;
<?php
	if ($userdata->user_admin) {
		$system_settings_link = "System Settings";
		if (strpos($_SERVER['REQUEST_URI'],'settings')) { // this is... pretty weak. -jsb
			$system_settings_link = "<strong>" . $system_settings_link . "</strong>";

		} else {
			$system_settings_link = "<a href=\"" . LURL . "/system-admin/settings.php\">" . $system_settings_link . "</a>";
		}
		echo $system_settings_link . " &bull; ";
	}

	$my_account_link = __('My Profile');
	if (strpos($_SERVER['REQUEST_URI'],'profile')) { // this is... pretty weak. -jjb
		$my_account_link = "<strong>" . $my_account_link . "</strong>";
	} else {
		$my_account_link = "<a href=\"" . LURL . "/profile\">" . $my_account_link . "</a>";
	}
	echo $my_account_link;
?>
<?php
		if ( ( get_settings('users_can_create_blogs') && 
( count(get_userblogs()) < get_settings('users_can_create_num_blogs') || '0' == get_settings('users_can_create_num_blogs') ) ||  $userdata->user_admin )//PEAK
		) :
?>
			<a id="create-new-blog" href="<?php echo LURL?>/register" title="<?php _e('Create new blog with currently logged in account') ?>"><?php _e('Create a new blog'); ?></a>
<?php endif ?>
			</li>
		</ul>
		<!-- END: authentication tools -->



	</div>
	<!-- END: lyceum header -->
